/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.hl7.datatypes.r2.domain;

import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Id;
import org.hl7.datatypes.r2.basic.BIN;

/**
 *
 * @author Obama
 */
@Entity
public class BINDomain {
    @Id
    private int id;
    @Embedded
    private BIN bin;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public BIN getBin() {
        return bin;
    }

    public void setBin(BIN bin) {
        this.bin = bin;
    }
    
    
}
